package com.szrt.day20170405.ch04;

public class ForDemo02 {
	
	
	public static void main(String[] args) {
		
		
		
		/*System.out.print("*");
		System.out.print("*");
		System.out.print("*");
		System.out.print("*");
		System.out.print("*");*/
		
		/*for(int begin=1; begin<=5; begin++){
			System.out.print("*");
		}
		
		System.out.println();
		
		for(int begin=1; begin<=5; begin++){
			System.out.print("*");
		}
		
		System.out.println();*/
		
		for(int outer=1; outer<=5;outer++){
			for(int begin=1; begin<=outer; begin++){
				System.out.print("*");
			}
			System.out.println();
		}
	}

}
